package cn.tedu.seckill.service;

import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Service

import cn.tedu.seckill.mapper.SecMapper;

@Service
class SecService {
  @Autowired
  private val secMapper: SecMapper = null
  def queryAll = secMapper queryAll
  def queryOne(seckillId: Long) = secMapper queryOne seckillId
}
